package com.da.web.dorm_room_bed.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.da.web.dorm_room_bed.entity.DormRoomBed;
import com.da.web.dorm_room_bed.entity.DormRoomVo;
import com.da.web.dorm_room_bed.mapper.DormRoomBedMapper;
import com.da.web.dorm_room_bed.service.DormRoomBedService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author da
 * @time 2023/12/10 上午 10:20
 */
@Service
public class DormRoomBedServiceImpl extends ServiceImpl<DormRoomBedMapper, DormRoomBed> implements DormRoomBedService {
    @Override
    public List<DormRoomBed> getBedList(Long roomId) {
        return this.baseMapper.getBedList(roomId);
    }

    @Override
    public List<DormRoomVo> getSelectBedList(Long roomId) {
        return this.baseMapper.getSelectBedList(roomId);
    }
}
